package com.admin.core.entity;

import com.admin.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author sq-lan
 */
@Getter
@Setter
public class SysDictDetail extends BaseEntity implements Serializable {

    @NotNull(groups = Update.class)
    private Integer id;

    @ApiModelProperty(hidden = true)
    private Integer dictId;

    @ApiModelProperty(value = "字典标签")
    private String label;

    @ApiModelProperty(value = "字典值")
    private String value;

    @ApiModelProperty(value = "排序")
    private Integer dictSort;
}
